package com.blb.mapper;

import com.blb.entity.Driver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yanghao
 * @since 2019-11-16
 */
public interface DriverMapper extends BaseMapper<Driver> {

    public int getAllCount(@Param("drivername") String drivername,@Param("companyId") String  companyId, @Param("driverlicense") String driverlicense);

    public List<Driver> findAll(@Param("drivername") String drivername,@Param("companyId") String  companyId, @Param("driverlicense") String driverlicense, @Param("start") int start, @Param("length") int length);


}
